<!--
 * @Author: Shususumu
 * @Date: 2020-10-17 15:49:06
 * @LastEditTime: 2020-10-20 17:17:56
 * @FilePath: \campusPTjobs\src\views\order\order_details.vue
-->
<template>
  <div id="order_details">
    <el-button @click="back" type="text" size="medium">返回</el-button>
    <div id="waiter_msg">
      <p>订单编号:{{ msg.id }}{{ msg.orderId }}</p>
      <p>下单时间:{{ msg.orderTime }}</p>
      <p>订单状态:{{ msg.status }}</p>
      <p>员工:{{ msg.waiterId }}{{ msg.waiterName }}</p>
      <p>顾客:{{ msg.customerId }}{{ msg.customerName }}</p>
    </div>
  </div>
</template>
<script>
import qs from "querystring";
export default {
  data() {
    return {
      msg: [],
    };
  },
  created() {
    this.msg = this.$route.query.msg;
  },
  methods: {
    back() {
      this.$router.back();
    },
  },
};
</script>
<style lang="scss" scoped>
#order_details {
  margin: 18px;
}
#waiter_msg {
  width: 300px;
  margin: 0 auto;
}
</style>